home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / appletalk / netatalk / afs / afskrbsrc.sit.hqx / AFS Kerberos 1.0B0 / log.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-08  |  2.4 KB  |  102 lines

  1. /*    Structure for AppleShare 2.0.1 VCB.  Other versions my be drastically different...
  2.  *    Documented by Dave Koziol.
  3.  *    Unearthed by Mark Smith and Wes Craig.
  4.  */
  5. /*
  6.  * Copyright (c) 1990 Regents of The University of Michigan.
  7.  * All Rights Reserved.
  8.  *
  9.  * Permission to use, copy, modify, and distribute this software
  10.  * and its documentation for any purpose and without fee is hereby
  11.  * granted, provided that the above copyright notice appears in all
  12.  * copies and that both that copyright notice and this permission
  13.  * notice appear in supporting documentation, and that the name of
  14.  * The University of Michigan not be used in advertising or
  15.  * publicity pertaining to distribution of the software without
  16.  * specific, written prior permission. This software is supplied as
  17.  * is without expressed or implied warranties of any kind.
  18.  *
  19.  *    ITD Research Systems
  20.  *    University of Michigan
  21.  *    535 W. William Street
  22.  *    Ann Arbor, Michigan
  23.  *    +1-313-936-2652
  24.  *    netatalk@terminator.cc.umich.edu
  25.  */
  26.  
  27. typedef struct {
  28.     struct QElem *    qLink;
  29.     short            qtype;
  30.     short            vcbFlags;
  31.     short            vcbSigWord;
  32.     long            vcbCrDate;
  33.     long            vcbLsMod;
  34.     short            vcbAtrb;
  35.     short            vcbNmFls;
  36.     short            vcbVBMSt;
  37.     short            vcbAllocPtr;
  38.     short            vcbNmAlBlks;
  39.     long            vcbAlBlkSiz;
  40.     long            vcbClpSIz;
  41.     short            vcbAlBlSt;
  42.     long            vcbNxtCNID;
  43.     short            vcbFreeBks;
  44.     char            vcbVN[28];
  45.     short            vcbDrvNum;
  46.     short            vcbDRefNum;
  47.     short            vcbFSID;
  48.     short            vcbVRefNum;
  49.     Ptr            vcbMAdr;
  50.     Ptr            vcbBufAdr;
  51.     short            vcbMLen;
  52.     short            vcbDirIndex;
  53.     short            vcbDirBlk;
  54.     long            vcbVolBkUp;
  55.     short            vcbVSeqNum;
  56.     long            vcbWrCnt;
  57.     long            vcbXTClpSiz;
  58.     long            vcbCTClpSiz;
  59.     short            vcbNmRtDirs;
  60.     long            vcbFilCnt;
  61.     long            vcbDirCnt;
  62.     long            vcbFndrInfo[8];
  63.     short            vcbVCSize;
  64.     short            vcbVBMCSiz;
  65.     short            vcbCtlCSiz;
  66.     short            vcbXTAlBlks;
  67.     short            vcbCTAlBlks;
  68.     short            vcbXTRef;
  69.     short            vcbCTRef;
  70.     Ptr            vcbCtlBuf;
  71.     long            vcbDirIDM;
  72.     short            vcbOffsM; 
  73.     short            junk1;
  74.     short            junk2;
  75.     short            vcbSRefNum;
  76.     short            vcbServerVol;
  77.     AddrBlock        vcbServerAddr;
  78.     short            junk4;
  79.     short            junk5;
  80.     short            junk6;
  81.     short            junk7;
  82.     char            junk8;
  83.     unsigned char        vcbLoginMethod;
  84.     char            vcbUserName[32];
  85.     char            junk9[64];
  86.     long            vcbLocalHand;
  87.     char            junk10[260];
  88.     char            vcbFindWhere[64];
  89. } AVCB;
  90.  
  91. struct sesslist {
  92.     Str255        sess_name;
  93.     int        sess_namelen;
  94.     int        sess_namestate;
  95.     char        sess_volumes[ 256 ];
  96.     short        sess_refnum;
  97.     AddrBlock    sess_addr;
  98. };
  99.     
  100. #define MAX_SESSIONS    15
  101. #define OWNEDRSRCID(id)    (0xC000 | (((-(id)) - 1) << 5))
  102.